package model

import (
	"time"

	"gorm.io/gorm"
)

type GTimeModel struct {
	CreatedAt time.Time       `json:"createdAt" gorm:"->:false;<-create;comment:创建时间" time_format:"2006-01-02 15:04:05"`
	UpdatedAt *time.Time      `json:"updatedAt" gorm:"comment:更新时间" time_format:"2006-01-02 15:04:05"`
	DeletedAt *gorm.DeletedAt `json:"deletedAt" gorm:"index;comment:删除时间" time_format:"2006-01-02 15:04:05"`
}
